// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IImportExportServiceAdatper.cs" company="">
//   
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace ExecutionTool.ImportExport
{
    using System;

    using ExecutionTool.Common;
    using ExecutionTool.CopyDatabase;
    using ExecutionTool.Profile;

    public interface IImportExportServiceAdatper : IConnectivityTestable<string>
    {
        #region Public Methods and Operators

        double GetOperationProgress(string endpoint, SqlAzureLocation source, Guid statusTrackId, StepType stepType);

        Guid TriggerExport(
            string endpoint, 
            SqlAzureLocation sourceSqlAzureLocation, 
            AzureStorageLocation targetAzureStorage, 
            string blobUri, 
            string databaseNameToExport);

        Guid TriggerImport(
            string endpoint, 
            SqlAzureLocation targetSqlAzureLocation, 
            AzureStorageLocation sourceAzureStorage, 
            string blobUri, 
            SqlAzureDatabaseInfo databaseInfo, 
            string databaseNameToImport);

        #endregion
    }
}
